import {store} from "../reducers/configureStore";
import NProgress from 'nprogress';
import 'nprogress/nprogress.css' //这个样式必须引入

// 简单配置
NProgress.configure({ easing: 'ease', speed: 1000, showSpinner: true });
const ajax=()=>{
    NProgress.start();
    setTimeout(function(){
        NProgress.done();
    },5000);
};

export {
    ajax
}
